<?php
    defined('M2_MICRO') or die('Direct Access to this location is not allowed.');

    /**
      * @desc Default Template file
      * @package M2 Micro Framework
      * @author Alexander Chaika
      */

    global $error;
?>
<!doctype html>
<html>
    <head>
        <title>Application Start Fault</title>
        <link type="text/css" rel="stylesheet" href="templates/offline/styles/default.css" />
    </head>
    <body>
        <section>
            <h1>Application Start Fault:</h1>
            <?php
                foreach ($error->getErrorStack() as $error) {
                    echo '<div class="error">'.$error.'</div>';
                }
            ?>
        </section>
        <footer>
            <small>powered by <a href="http://marco-manti.jino.ru">marco_manti&reg;</a> 2006-<?php echo date('Y'); ?>.</small>
        </footer>
    </body>
</html>